package com.stujyh.spring6.Service;

import com.stujyh.spring6.dao.OrderDao;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class OrderService {
    //@Autowired
    @Resource
    @Qualifier("orderDaoImplForOracal")
    private OrderDao orderDao;
    public void saveOrder(){
        orderDao.insert();
    }
}
